﻿using System;
using Circle.Domain.Model;
using Circle.Web.ViewModelsClient;

namespace Circle.Web.Drivers.Contract
{
    public interface ISavableDriver<M, CM>
        where M : class
        where CM : ClientModel
    {
        OperationStatus Save(CM cModel, string[] includeProperties = null, string[] excludeProperties = null);

        OperationStatus Save(M m);
    }
}
